#-------------------------------------------------
#
# Project created by QtCreator 2016-08-08T11:19:17
#
#-------------------------------------------------

QT += xml network
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets multimedia
equals(QT_MAJOR_VERSION, 4){
    CONFIG += mobility
    MOBILITY += multimedia
}
lessThan(QT_MAJOR_VERSION, 4){
    error(requires QT4 or later!!)
}

TARGET = WRSoft-GuiApp-Working-Common
TEMPLATE = lib

DEFINES += WRSOFT_GUIAPP_WORKING_COMMON_LIBRARY

SOURCES += WRWorkMainWindow.cpp \
    WRWorkMainGuiPart.cpp \
    Runtime/WRWorkMainGuiPartActivator.cpp \
    Runtime/WRWorkMainCommandActivator.cpp \
    Runtime/WRWorkGuiConfigProvider.cpp \
    WRWorkGuiApplication.cpp \
    WRWorkMainCommand.cpp \
    Runtime/WRWorkGuiConfig.cpp \
    WRWorkDeviceListModel.cpp \
    WRWorkDevicesGuiPart.cpp \
    WRWorkDomainsGuiPart.cpp \
    WRWorkDomainsGuiView.cpp \
    WRWorkDomainListModel.cpp \
    WRWorkDevicesGuiView.cpp \
    WRWorkServicesGuiPart.cpp \
    WRWorkServicesGuiView.cpp \
    WRWorkServiceListModel.cpp \
    WRWavePlayer.cpp \
    WRWavePlayRoutine.cpp \
    WRWorkGuiInitEvent.cpp \
    WRWorkLampController.cpp \
    WRWorkObjectWrapper.cpp \
    WRWorkAffairWrapper.cpp

HEADERS += WRWorkMainWindow.h \
    WRGlobal.h \
    WRWorkMainGuiPart.h \
    Runtime/WRWorkMainGuiPartActivator.h \
    WRWorkMainCommand.h \
    Runtime/WRWorkMainCommandActivator.h \
    Runtime/WRWorkGuiConfigProvider.h \
    WRWorkGuiApplication.h \
    Runtime/WRWorkGuiConfig.h \
    WRWorkDeviceListModel.h \
    WRWorkDevicesGuiPart.h \
    WRWorkDomainsGuiPart.h \
    WRWorkDomainsGuiView.h \
    WRWorkDomainListModel.h \
    WRWorkDevicesGuiView.h \
    WRWorkServicesGuiPart.h \
    WRWorkServicesGuiView.h \
    WRWorkServiceListModel.h \
    Runtime/WRWorkMainActionGroup.h \
    Runtime/WRWorkMainActionEntry.h \
    Runtime/WRWorkMainActionClass.h \
    WRWavePlayBuffer.h \
    WRWavePlayer.h \
    WRWavePlayRoutine.h \
    WRWavePlayThread.h \
    WRWorkGuiInitThreadWorker.h \
    WRWorkGuiInitEvent.h \
    WRWorkLampController.h \
    WRWorkStatusPixmaps.h \
    WRWorkObjectWrapper.h \
    WRWorkAffairWrapper.h

RESOURCES += \
    WRSoft-GuiApp-Working-Common.qrc

unix {
    target.path = /usr/lib
    INSTALLS += target
}

win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../WRSoft-Utility/release/ -lWRSoft-Utility
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../WRSoft-Utility/debug/ -lWRSoft-Utility
else:unix: LIBS += -L$$OUT_PWD/../WRSoft-Utility/ -lWRSoft-Utility

INCLUDEPATH += $$PWD/../WRSoft-Utility
DEPENDPATH += $$PWD/../WRSoft-Utility

win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../WRSoft-Working-Common/release/ -lWRSoft-Working-Common
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../WRSoft-Working-Common/debug/ -lWRSoft-Working-Common
else:unix: LIBS += -L$$OUT_PWD/../WRSoft-Working-Common/ -lWRSoft-Working-Common

INCLUDEPATH += $$PWD/../WRSoft-Working-Common
DEPENDPATH += $$PWD/../WRSoft-Working-Common

win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../WRSoft-GuiApp-Common/release/ -lWRSoft-GuiApp-Common
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../WRSoft-GuiApp-Common/debug/ -lWRSoft-GuiApp-Common
else:unix: LIBS += -L$$OUT_PWD/../WRSoft-GuiApp-Common/ -lWRSoft-GuiApp-Common

INCLUDEPATH += $$PWD/../WRSoft-GuiApp-Common
DEPENDPATH += $$PWD/../WRSoft-GuiApp-Common
